<template>
    <div class="title">
        <span class="block"></span>
        <span class="text">{{title}}</span>
    </div>
</template>

<script>
    export default {
        props:{
            title:{
                type:String,
                default:""
            }
        }
    }
</script>

<style lang="scss" scoped>
    .title{
        width: 100%;
        height: 100%;
        display: flex;
                align-items: center;
        &>span{
            display: inline-block;
        }
        .block{
            width: 3px;
            height: 80%;
            background-color: #165DD2;
            border-radius: 5px;
        }
        .text{
            margin-left: 10px;
            color: #fff;
            font-size: 14px;
        }
    }
</style>